package com.wn.consumer.demo02;

import lombok.extern.slf4j.Slf4j;
import org.springframework.amqp.core.ExchangeTypes;
import org.springframework.amqp.rabbit.annotation.Exchange;
import org.springframework.amqp.rabbit.annotation.Queue;
import org.springframework.amqp.rabbit.annotation.QueueBinding;
import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.stereotype.Component;

/**
 * @author yellow Docter
 * @date 2022 -11-02
 * @desc
 *  积分消费者
 */
//@Component
//@Slf4j
public class SeatConsumer {

//    @RabbitListener(
//            bindings = @QueueBinding(
//                    value = @Queue(name = "queue-fanout-seat"),
//                    exchange = @Exchange(
//                            name ="exchange-fanout",
//                            type = ExchangeTypes.FANOUT
//                    )
//            )
//    )
    public void handlerMsg(String msg){

//        log.info("锁定座位的消费的消息:===>{}",msg);

    }

}
